#include"Threads.h"
#include<Windows.h>


int main()
{
	Channels s;
	while(true)
	{
		s.EnTask([] {std::cout << "printf task" << std::endl; });
		Sleep(1000);
		s.EnTask([] {std::cout << "fllush task" << std::endl; });
		Sleep(1000);
	}
	Sleep(100);
	return 0;
}